package top.xtcoder.jdcbase.base.entity.base;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Default;
import org.nutz.dao.entity.annotation.Index;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.dao.entity.annotation.TableIndexes;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import top.xtcoder.jdcbase.base.entity.BaseEntity;

@Table("pb_mime_type")
@ApiModel("mimetype模块")
@Comment("mimetype模块")
@TableIndexes({
	@Index(fields= {"contentType"}, unique=false)
})
public class MimeType extends BaseEntity {
	
	@Column("content_type")
	@ColDefine(type=ColType.TEXT)
	private String contentType;
	
	@Column("suffix")
	@ColDefine(type=ColType.TEXT)
	private String suffix;

	public String getContentType() {
		return contentType;
	}

	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

	public String getSuffix() {
		return suffix;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}
}